package com.wintop.springbootjwt.dao;

import com.wintop.springbootjwt.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserDao {
    User getUserInfoById(@Param("id") String id);

    User findByUsername(@Param("name") String name);

    void updateByPrimaryKey(User user);

}
